package org.zfes.snowier.cloud.zbss.metting.biz.dto.acc;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class RegistDto implements Serializable{
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	@NotNull(message="登录账号不能为空")
	@NotBlank(message="登录账号不能为空")
	private String account;
	
	
	@NotNull(message="昵称不能为空")
	@NotBlank(message="昵称不能为空")
	private String nickName;

	
	@NotNull(message="电话不能为空")
	@NotBlank(message="电话不能为空")
	private String phone;
	
	@NotNull(message="密码不能为空")
	@NotBlank(message="密码不能为空")
	private String email;
	
	@NotNull(message="密码不能为空")
	@NotBlank(message="密码不能为空")
	private String password;
	private String password2;
	
	@NotNull(message="VerfyId参数错误")
	private Long smsVerfyId;
	
	@NotNull(message="验证码参数错误")
	@NotBlank(message="验证码参数错误")
	private String checkCode;
	
	
	private String weichatOpenId;
	
	
	public String getNickName() {
		return nickName;
	}
	public RegistDto setNickName(String nickName) {
		this.nickName = nickName;
		return this;
	}
	public String getPhone() {
		return phone;
	}
	public RegistDto setPhone(String phone) {
		this.phone = phone;
		return this;
	}
	public String getEmail() {
		return email;
	}
	public RegistDto setEmail(String email) {
		this.email = email;
		return this;
	}
	public String getPassword() {
		return password;
	}
	public RegistDto setPassword(String password) {
		this.password = password;
		return this;
	}
	public String getPassword2() {
		return password2;
	}
	public RegistDto setPassword2(String password2) {
		this.password2 = password2;
		return this;
	}
	public Long getSmsVerfyId() {
		return smsVerfyId;
	}
	public RegistDto setSmsVerfyId(Long smsVerfyId) {
		this.smsVerfyId = smsVerfyId;
		return this;
	}
	public String getCheckCode() {
		return checkCode;
	}
	public RegistDto setCheckCode(String checkCode) {
		this.checkCode = checkCode;
		return this;
	}
	public String getAccount() {
		return account;
	}
	public RegistDto setAccount(String account) {
		this.account = account;
		return this;
	}
	public String getWeichatOpenId() {
		return weichatOpenId;
	}
	public void setWeichatOpenId(String weichatOpenId) {
		this.weichatOpenId = weichatOpenId;
	}


	
	

}
